package com.bwhx.eruler.bean;

import java.util.List;

public class Ruler {
	private int rId;
	private String rMac;
	private String rOffset;
	private Integer rState; //0库存， 1售出
	private int rUseState;//0未使用,1正常使用，2非法流出
	private Long rSellTime;
	private Long rRukuTime;//入库时间
	private String rsn;
	private Staff seller;
	private Staff kuGuan;
	private int rSellerId;
	private int rKuGuanId;
	private String rBrithplace;
	private String rColor;
	private String rType;
	private String rName;
	private Integer rVersion;
	private Integer rBuyerId;
	private List<User> users;
	private Long rFTime;
	private Integer rGoWhere;
	
	
	public Ruler() {}
	public Ruler(String rsn,Integer rState) {
		this.rsn = rsn;
		this.rState = rState;
	}
	
	
	
	public Integer getrGoWhere() {
		return rGoWhere;
	}
	public void setrGoWhere(Integer rGoWhere) {
		this.rGoWhere = rGoWhere;
	}

	public Long getrFTime() {
		return rFTime;
	}
	public void setrFTime(Long rFTime) {
		this.rFTime = rFTime;
	}
	public List<User> getUsers() {
		return users;
	}
	public void setUsers(List<User> users) {
		this.users = users;
	}
	public Integer getrBuyerId() {
		return rBuyerId;
	}
	public void setrBuyerId(Integer rBuyerId) {
		this.rBuyerId = rBuyerId;
	}
	public Staff getKuGuan() {
		return kuGuan;
	}
	public void setKuGuan(Staff kuGuan) {
		this.kuGuan = kuGuan;
	}
	
	public int getrKuGuanId() {
		return rKuGuanId;
	}
	public void setrKuGuanId(int rKuGuanId) {
		this.rKuGuanId = rKuGuanId;
	}
	public Integer getrVersion() {
		return rVersion;
	}
	public void setrVersion(Integer rVersion) {
		this.rVersion = rVersion;
	}
	public String getrBrithplace() {
		return rBrithplace;
	}
	public void setrBrithplace(String rBrithplace) {
		this.rBrithplace = rBrithplace;
	}
	public String getrColor() {
		return rColor;
	}
	public void setrColor(String rColor) {
		this.rColor = rColor;
	}
	public String getrType() {
		return rType;
	}
	public void setrType(String rType) {
		this.rType = rType;
	}
	public String getrName() {
		return rName;
	}
	public void setrName(String rName) {
		this.rName = rName;
	}
	public int getrSellerId() {
		return rSellerId;
	}
	public void setrSellerId(int rSellerId) {
		this.rSellerId = rSellerId;
	}
	public Staff getSeller() {
		return seller;
	}
	public void setSeller(Staff seller) {
		this.seller = seller;
	}
	
	public String getRsn() {
		return rsn;
	}
	public void setRsn(String rsn) {
		this.rsn = rsn;
	}
	public int getrId() {
		return rId;
	}
	public void setrId(int rId) {
		this.rId = rId;
	}
	public String getrMac() {
		return rMac;
	}
	public void setrMac(String rMac) {
		this.rMac = rMac;
	}
	public String getrOffset() {
		return rOffset;
	}
	public void setrOffset(String rOffset) {
		this.rOffset = rOffset;
	}

	
	public Integer getrState() {
		return rState;
	}
	public void setrState(Integer rState) {
		this.rState = rState;
	}
	public int getrUseState() {
		return rUseState;
	}
	public void setrUseState(int rUseState) {
		this.rUseState = rUseState;
	}
	
	public Long getrSellTime() {
		return rSellTime;
	}
	public void setrSellTime(Long rSellTime) {
		this.rSellTime = rSellTime;
	}
	public Long getrRukuTime() {
		return rRukuTime;
	}
	public void setrRukuTime(Long rRukuTime) {
		this.rRukuTime = rRukuTime;
	}
	
	@Override
	public String toString() {
		return rsn+",";
	}
	
	
	
	
	
	
	
}
